package com.gh.blog.dto;

import com.gh.blog.entity.Score;
import com.gh.blog.entity.Student;
import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.BeanUtils;

import java.util.Date;
import java.util.List;

/**
 * @Author Fawn
 * @Date 2020/8/23 21:38
 * @Version 1.0
 **/
@Getter
@Setter
public class StudentDetailDTO implements Convert<StudentDetailDTO, Student> {

    private String no;
    private String name;
    private Boolean sex;
    private Date birthday;
    private Date inSchoolDay;
    private String classCode;
    private String phone;
    private String homeAddress;

    private List<ScoreDTO> scores;


}
